package cn.dong.base.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TradeOrderDto {

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseTitle;


    @ApiModelProperty(value = "讲师名称")
    private String teacherName;

    @ApiModelProperty(value = "订单金额（分）")
    private BigDecimal totalFee;


    @ApiModelProperty(value = "订单状态（0：未支付 1：已支付）")
    private Integer status;


    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
